package cn.liontlak.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ZhouZhe
 * @version 1.0
 * @description FeignService 接口
 * @date 2018-12-02 13:41
 **/
@FeignClient(value = "eureka-client")
public interface FeignService {


    /**
     * 使用Feign
     * @return String
     */
    @RequestMapping(value = "/hi",method = RequestMethod.GET)
    String sayHiFromClient();
}
